package com.qf.smsplatform.webmaster.mapper;

import com.qf.smsplatform.webmaster.pojo.TNotify;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NotifyMapper {
    @Select("select * from t_notify")
    List<TNotify> findAll();

    int updateNotity(TNotify tNotify);

    @Insert("insert into t_notify(tag,desp,notify_state,cache_state) values(#{tag},#{desp},#{notify_state},#{cache_state})")
    void insert(TNotify tNotify);

    void delete(List<Long> id);

}
